package com.inossem.warehousestorage_inossem.bean.inventory;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/9/2 0002.
 */

public class InventoryNewMatQueryRespBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"newMateriel":{"id":"111","materielCode":"WLBM123456","materielDescription":"物料描述信息","position":"111","number":"10.2","specialInventoryFlag":"Q","specialInventoryCode":"1","specialInventoryDescription":"特殊库存描述","contract":"200","supplierCode":"300","inStorageDate":"2017-08-08","manufactureDate":"2017-08-08","validityDate":"2017-08-08","batch":"1111","batchList":[{"id":"1","name":"名称1","required":"1","type":"0","value":"","text":"北京三里屯"},{"id":"2","name":"名称2","required":"0","type":"1","value":"","text":"2017-08-09"},{"id":"3","name":"名称3","required":"1","type":"2","value":"01","text":"北京三里屯","select":[{"value":"01","text":"沈阳"},{"value":"02","text":"上海"},{"value":"03","text":"深圳"}]}]}}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * newMateriel : {"id":"111","materielCode":"WLBM123456","materielDescription":"物料描述信息","position":"111","number":"10.2","specialInventoryFlag":"Q","specialInventoryCode":"1","specialInventoryDescription":"特殊库存描述","contract":"200","supplierCode":"300","inStorageDate":"2017-08-08","manufactureDate":"2017-08-08","validityDate":"2017-08-08","batch":"1111","batchList":[{"id":"1","name":"名称1","required":"1","type":"0","value":"","text":"北京三里屯","select":[{"value":"01","text":"沈阳"},{"value":"02","text":"上海"},{"value":"03","text":"深圳"}]},{"id":"2","name":"名称2","required":"0","type":"1","value":"","text":"2017-08-09"},{"id":"3","name":"名称3","required":"1","type":"2","value":"01","text":"北京三里屯","select":[{"value":"01","text":"沈阳"},{"value":"02","text":"上海"},{"value":"03","text":"深圳"}]}]}
         */

        private NewMaterielBean newMateriel;

        public NewMaterielBean getNewMateriel() {
            return newMateriel;
        }

        public void setNewMateriel(NewMaterielBean newMateriel) {
            this.newMateriel = newMateriel;
        }

        public static class NewMaterielBean {
            /**
             * id : 111
             * materielCode : WLBM123456
             * materielDescription : 物料描述信息
             * position : 111
             * number : 10.2
             * specialInventoryFlag : Q
             * specialInventoryCode : 1
             * specialInventoryDescription : 特殊库存描述
             * contract : 200
             * supplierCode : 300
             * inStorageDate : 2017-08-08
             * manufactureDate : 2017-08-08
             * validityDate : 2017-08-08
             * batch : 1111
             * batchList : [{"id":"1","name":"名称1","required":"1","type":"0","value":"","text":"北京三里屯"},{"id":"2","name":"名称2","required":"0","type":"1","value":"","text":"2017-08-09"},{"id":"3","name":"名称3","required":"1","type":"2","value":"01","text":"北京三里屯","select":[{"value":"01","text":"沈阳"},{"value":"02","text":"上海"},{"value":"03","text":"深圳"}]}]
             */

            private String id;
            private String warehouseNumber;
            private String materielCode;
            private String materielDescription;
            private String positionNumberValue;
            private String number;
            private String specialInventoryFlagCode;
            private String specialInventoryFlagValue;
            private String specialInventoryCode;
            private String specialInventoryDescription;
            private String contract;
            private String supplierCode;
            private String supplierDescription;
            private String inStorageDate;
            private String manufactureDate;
            private String validityDate;
            private String batch;
            private List<BatchListBean> batchList = new ArrayList<BatchListBean>();

            public String getSupplierDescription() {
                return supplierDescription;
            }

            public void setSupplierDescription(String supplierDescription) {
                this.supplierDescription = supplierDescription;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getWarehouseNumber() {
                return warehouseNumber;
            }

            public void setWarehouseNumber(String warehouseNumber) {
                this.warehouseNumber = warehouseNumber;
            }

            public String getSpecialInventoryFlagValue() {
                return specialInventoryFlagValue;
            }

            public void setSpecialInventoryFlagValue(String specialInventoryFlagValue) {
                this.specialInventoryFlagValue = specialInventoryFlagValue;
            }

            public String getPositionNumberValue() {
                return positionNumberValue;
            }

            public void setPositionNumberValue(String positionNumberValue) {
                this.positionNumberValue = positionNumberValue;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getSpecialInventoryFlagCode() {
                return specialInventoryFlagCode;
            }

            public void setSpecialInventoryFlagCode(String specialInventoryFlagCode) {
                this.specialInventoryFlagCode = specialInventoryFlagCode;
            }

            public String getSpecialInventoryCode() {
                return specialInventoryCode;
            }

            public void setSpecialInventoryCode(String specialInventoryCode) {
                this.specialInventoryCode = specialInventoryCode;
            }

            public String getSpecialInventoryDescription() {
                return specialInventoryDescription;
            }

            public void setSpecialInventoryDescription(String specialInventoryDescription) {
                this.specialInventoryDescription = specialInventoryDescription;
            }

            public String getContract() {
                return contract;
            }

            public void setContract(String contract) {
                this.contract = contract;
            }

            public String getSupplierCode() {
                return supplierCode;
            }

            public void setSupplierCode(String supplierCode) {
                this.supplierCode = supplierCode;
            }

            public String getInStorageDate() {
                return inStorageDate;
            }

            public void setInStorageDate(String inStorageDate) {
                this.inStorageDate = inStorageDate;
            }

            public String getManufactureDate() {
                return manufactureDate;
            }

            public void setManufactureDate(String manufactureDate) {
                this.manufactureDate = manufactureDate;
            }

            public String getValidityDate() {
                return validityDate;
            }

            public void setValidityDate(String validityDate) {
                this.validityDate = validityDate;
            }

            public String getBatch() {
                return batch;
            }

            public void setBatch(String batch) {
                this.batch = batch;
            }

            public List<BatchListBean> getBatchList() {
                return batchList;
            }

            public void setBatchList(List<BatchListBean> batchList) {
                this.batchList = batchList;
            }

            public static class BatchListBean {
                /**
                 * id : 1
                 * name : 名称1
                 * required : 1
                 * type : 0
                 * value :
                 * text : 北京三里屯
                 * select : [{"value":"01","text":"沈阳"},{"value":"02","text":"上海"},{"value":"03","text":"深圳"}]
                 */

                private String id;
                private String name;
                private String required;
                private String type;
                private String value;
                private String text;
                private List<SelectBean> select;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getRequired() {
                    return required;
                }

                public void setRequired(String required) {
                    this.required = required;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }

                public List<SelectBean> getSelect() {
                    return select;
                }

                public void setSelect(List<SelectBean> select) {
                    this.select = select;
                }

                public static class SelectBean {
                    /**
                     * value : 01
                     * text : 沈阳
                     */

                    private String value;
                    private String text;

                    public String getValue() {
                        return value;
                    }

                    public void setValue(String value) {
                        this.value = value;
                    }

                    public String getText() {
                        return text;
                    }

                    public void setText(String text) {
                        this.text = text;
                    }
                }
            }
        }
    }
}
